BMI\Plugin\BMI_Ajax D

Total Complexity 701
Dependencies 18
Dependents 1
Total lines 2,919
Lines of code 2,145
Logical lines of code 1,730
Comment lines 198
Methods 48
Properties 0

Methods 48

Method Rating Maintainability Complexity Lines of code
saveOtherOptions()
D
22
62 148
restoreBackup()
D
19
58 188
parseFilesForBackup()
D
22
58 149
prepareAndMakeBackup()
D
21
53 162
saveFilesConfig()
D
26
45 130
sendTroubleshootingDetails()
D
26
34 140
__construct()
D
33 36 79
createBackup()
D
34 36 75
scanFilesForBackup()
D
31 32 97
handleQuickMigration()
C
29
27 116
calculateCron()
C
33 26 91
removeBackupFile()
B
37 23 64
forceRestoreToStop()
B
40 22 55
migrationExceptionHandler()
B
36 21 68
backupErrorHandler()
B
40 19 52
forceBackupToStop()
B
42 19 45
saveStorageConfig()
B
40 17 53
resetLatestLogs()
A
46 10 34
isMigrationLocked()
A
50 10 25
checkIfPHPCliExist()
A
48 9 31
rrmdir()
A
55 9 19
saveStorageTypeConfig()
A
47 8 32
dirSize()
S
52 7 22
downloadFile()
S
47 5 36
isRunningBackup()
S
56 5 16
sendTestMail()
S
59 5 13
getLatestBackupFile()
S
54 4 20
toggleBackupLock()
S
57 4 15
logSharing()
S
61 4 12
makeBackupName()
S
46 2 36
getDynamicNames()
S
57 3 17
siteURL()
S
69 4 5
stopBackup()
S
63 3 10
actionsAfterProcess()
S
64 3 9
revertUnameProcess()
S
64 3 9
fixUnameFunction()
S
61 2 11
resetConfiguration()
S
63 2 11
getSiteData()
S
69 1 6
fixLitespeed()
S
76 1 4
dismissErrorNotice()
S
81 1 3
revertLitespeed()
S
76 1 4
backupExceptionHandler()
S
70 1 6
migrationErrorHandler()
S
70 1 6
getDatabaseSize()
S
66 1 8
continueRestoreProcess()
S
91 1 2
getBackupsList()
S
69 1 6
handleChunkUpload()
S
80 1 3
debugging()
S
91 1 2